package com.psl.action.work.halfproductkc;

import com.psl.services.work.halfproductkc;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;

public class Update_num_old
{
  public String execute()
  {
    HttpServletRequest request = ServletActionContext.getRequest();
    int h_num_old = Integer.parseInt(request.getParameter("h_num_old"));
    String h_no = request.getParameter("h_no");
    String h_size = request.getParameter("h_size");
    String h_r = request.getParameter("h_r");
    String h_n = request.getParameter("h_n");
    halfproductkc hps = new halfproductkc();
    hps.updateoldkc(h_num_old, h_no, h_size, h_r, h_n);
    return "success";
  }
}
